package com.ruoyi.yipaiju.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 首页模块配置对象 jczn_model_config
 * 
 * @author liuwp
 * @date 2023-03-27
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ModelConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 模块类型 */
    @Excel(name = "模块类型", dictType = "jczn_model_config_type")
    private Integer modelType;

    /** 模块位置 */
    @Excel(name = "模块位置", dictType = "jczn_model_config_position")
    private Integer modelPosition;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long deptId;

    /** 名称 */
    @Excel(name = "名称")
    private String modelName;

    /** 副名称 */
    @Excel(name = "副名称")
    private String modelSubName;

    /** 状态 */
    @Excel(name = "状态", dictType = "sys_common_status")
    private Integer status;

    /** 排序 */
    @Excel(name = "排序")
    private Integer orderBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 图标url */
    @Excel(name = "图标url")
    private String imageUrl;

    /** 跳转url */
    @Excel(name = "跳转url")
    private String targetUrl;

    /** 区域id */
    @Excel(name = "区域id")
    private Long areaId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String assetsVal1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String assetsVal2;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String assetsVal3;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ext1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ext2;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ext3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setModelType(Integer modelType) 
    {
        this.modelType = modelType;
    }

    public Integer getModelType() 
    {
        return modelType;
    }
    public void setModelPosition(Integer modelPosition) 
    {
        this.modelPosition = modelPosition;
    }

    public Integer getModelPosition() 
    {
        return modelPosition;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }
    public void setModelSubName(String modelSubName) 
    {
        this.modelSubName = modelSubName;
    }

    public String getModelSubName() 
    {
        return modelSubName;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setOrderBy(Integer orderBy) 
    {
        this.orderBy = orderBy;
    }

    public Integer getOrderBy() 
    {
        return orderBy;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setTargetUrl(String targetUrl) 
    {
        this.targetUrl = targetUrl;
    }

    public String getTargetUrl() 
    {
        return targetUrl;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setAssetsVal1(String assetsVal1) 
    {
        this.assetsVal1 = assetsVal1;
    }

    public String getAssetsVal1() 
    {
        return assetsVal1;
    }
    public void setAssetsVal2(String assetsVal2) 
    {
        this.assetsVal2 = assetsVal2;
    }

    public String getAssetsVal2() 
    {
        return assetsVal2;
    }
    public void setAssetsVal3(String assetsVal3) 
    {
        this.assetsVal3 = assetsVal3;
    }

    public String getAssetsVal3() 
    {
        return assetsVal3;
    }
    public void setExt1(String ext1) 
    {
        this.ext1 = ext1;
    }

    public String getExt1() 
    {
        return ext1;
    }
    public void setExt2(String ext2) 
    {
        this.ext2 = ext2;
    }

    public String getExt2() 
    {
        return ext2;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("modelType", getModelType())
            .append("modelPosition", getModelPosition())
            .append("deptId", getDeptId())
            .append("modelName", getModelName())
            .append("modelSubName", getModelSubName())
            .append("status", getStatus())
            .append("orderBy", getOrderBy())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("deleteTime", getDeleteTime())
            .append("imageUrl", getImageUrl())
            .append("targetUrl", getTargetUrl())
            .append("areaId", getAreaId())
            .append("assetsVal1", getAssetsVal1())
            .append("assetsVal2", getAssetsVal2())
            .append("assetsVal3", getAssetsVal3())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .toString();
    }
}
